Smush\Core\Modules\Png2jpg B

Total Complexity 97
Dependencies 5
Dependents 1
Total lines 690
Lines of code 332
Logical lines of code 215
Comment lines 231
Methods 14
Properties 1

Methods 14

Method Rating Maintainability Complexity Lines of code
png_to_jpg()
A
44 14 42
is_transparent()
A
46 14 37
convert_tpng_to_jpg()
A
40 11 54
convert_to_jpg()
A
46 12 37
can_be_converted()
A
52 11 24
update_image_path()
A
47 7 34
update_image_url()
S
50 5 30
get_quality()
S
60 6 13
replace_file()
S
55 4 20
is_converted()
S
59 4 15
should_convert()
S
60 4 13
supports_imagick()
S
71 2 6
supports_gd()
S
71 2 6
init()
S
98 1 1